package com.syg.case05;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.context.annotation.Configuration;

@Aspect
@Configuration
public class AspectCase05 {
    @Pointcut("execution(* com.syg.case05.ACase05.*(..))")
    public void aspect() {
        System.out.println("AspectCase04");
    }

    @Before("aspect()")
    public void before() {
        System.out.println("before()");
    }
}
